export function omitStr(str: string, length: number) {
    if (str === undefined || str === null) {
        return "";
    }
    // 省略多余的内容
    return str.length > length ? `${str.slice(0, length)}...` : str;
}
